package com.qbw.app.module.vehicle.adapter;

import android.content.Context;

import com.qbw.app.model.Vehicle;

import java.util.ArrayList;

/**
 * @author QBW
 * @date 2019/10/8
 */
public class VehicleSelectAdapter extends VehicleAdapter {

    public VehicleSelectAdapter(Context context) {
        super(context);
    }

    public VehicleSelectAdapter(Context context, Object listener) {
        super(context, listener);
    }

    @Override
    public int getItemViewType(Object t) {
        if (t instanceof Vehicle) {
            return VehicleViewType.VT_SELECT_VEHICLE;
        }
        return super.getItemViewType(t);
    }
}
